An empirical study of code clone genealogies

نویسندگان
چکیده

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Empirical Studies of Code Clone Genealogies

Two identical or similar code fragments form a clone pair. Previous studies have identified cloning as a risky practice. Therefore, a developer needs to be aware of any clone pairs so as to properly propagate any changes between clones. A clone pair experiences many changes during the creation and maintenance of software systems. A change can either maintain or remove the similarity between clo...

متن کامل

An empirical study of faults in late propagation clone genealogies

Two similar code segments, or clones, form a clone pair within a software system. The changes to the clones over time create a clone evolution history. In this work, we study late propagation, a specific pattern of clone evolution. In late propagation, one clone in a clone pair is modified, causing the clone pair to diverge. The code segments are then reconciled in a later commit. Existing work...

متن کامل

Empirical Studies of Clone Mutation and Clone Migration in Clone Genealogies

Duplications and changes made on code segments by developers form code clones. Cloned code segments are exactly the same or have a particular similarity. A set of cloned code segments that have the same similarity with each other become a clone group. A clone genealogy contains several clone groups in different revisions and time periods. Based on different textual similarities, there are three...

متن کامل

Empirical Evaluation of Similar Defect Detection by Code Clone Search

あらまし 不具合修正時の修正前ソースコード片を検索キーとしたコードクローン検索による類似不具合の検 出を実証的に評価した.これまでにオープンソースソフトウェアを対象とした研究により,コードクローン検索 による類似不具合発見の有用性が確認されている.そこで本論文では,商用開発のソフトウェアを対象としコー ドクローン検索による類似不具合発見を商用開発の現場への適用する際の指針となることを目指す.対象はパナ ソニック MSE株式会社において三つの異なるプロジェクトで開発された 3 件のソースコードであり,試験工程 での不具合修正に伴う修正履歴が記録されたリリース済のものである.修正履歴に記録された不具合修正前の ソースコード片を検索キーとしコードクローン検索を実施し類似不具合を検出した.その結果,対象とした商用 開発においてもその有効性を確認できた. キーワード コードクローン分析,類似不...

متن کامل

An Empirical Study on Limits of Clone Unification Using Generics

Generics (templates) attempt to unify similar program structures to avoid explosion of redundant code. How well do generics serve this purpose in practice? We try to answer this question through empirical analysis from two case studies. First, we analyzed the Java Buffer library in which 68% of the code was redundant due to cloning. We were able to remove only 40% of the redundant code using th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM SIGSOFT Software Engineering Notes

سال: 2005

ISSN: 0163-5948

DOI: 10.1145/1095430.1081737